Optimal. Leaf size=143 \[ \frac {1}{5} c^4 d^2 x^5 \left (a+b \cosh ^{-1}(c x)\right )-\frac {2}{3} c^2 d^2 x^3 \left (a+b \cosh ^{-1}(c x)\right )+d^2 x \left (a+b \cosh ^{-1}(c x)\right )-\frac {b d^2 (c x-1)^{5/2} (c x+1)^{5/2}}{25 c}+\frac {4 b d^2 (c x-1)^{3/2} (c x+1)^{3/2}}{45 c}-\frac {8 b d^2 \sqrt {c x-1} \sqrt {c x+1}}{15 c} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.15, antiderivative size = 177, normalized size of antiderivative = 1.24, number of steps used = 6, number of rules used = 6, integrand size = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.273, Rules used = {194, 5680, 12, 520, 1247, 698} \[ \frac {1}{5} c^4 d^2 x^5 \left (a+b \cosh ^{-1}(c x)\right )-\frac {2}{3} c^2 d^2 x^3 \left (a+b \cosh ^{-1}(c x)\right )+d^2 x \left (a+b \cosh ^{-1}(c x)\right )+\frac {b d^2 \left (1-c^2 x^2\right )^3}{25 c \sqrt {c x-1} \sqrt {c x+1}}+\frac {4 b d^2 \left (1-c^2 x^2\right )^2}{45 c \sqrt {c x-1} \sqrt {c x+1}}+\frac {8 b d^2 \left (1-c^2 x^2\right )}{15 c \sqrt {c x-1} \sqrt {c x+1}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 194
Rule 520
Rule 698
Rule 1247
Rule 5680
Rubi steps
\begin {align*} \int \left (d-c^2 d x^2\right )^2 \left (a+b \cosh ^{-1}(c x)\right ) \, dx &=d^2 x \left (a+b \cosh ^{-1}(c x)\right )-\frac {2}{3} c^2 d^2 x^3 \left (a+b \cosh ^{-1}(c x)\right )+\frac {1}{5} c^4 d^2 x^5 \left (a+b \cosh ^{-1}(c x)\right )-(b c) \int \frac {d^2 x \left (15-10 c^2 x^2+3 c^4 x^4\right )}{15 \sqrt {-1+c x} \sqrt {1+c x}} \, dx\\ &=d^2 x \left (a+b \cosh ^{-1}(c x)\right )-\frac {2}{3} c^2 d^2 x^3 \left (a+b \cosh ^{-1}(c x)\right )+\frac {1}{5} c^4 d^2 x^5 \left (a+b \cosh ^{-1}(c x)\right )-\frac {1}{15} \left (b c d^2\right ) \int \frac {x \left (15-10 c^2 x^2+3 c^4 x^4\right )}{\sqrt {-1+c x} \sqrt {1+c x}} \, dx\\ &=d^2 x \left (a+b \cosh ^{-1}(c x)\right )-\frac {2}{3} c^2 d^2 x^3 \left (a+b \cosh ^{-1}(c x)\right )+\frac {1}{5} c^4 d^2 x^5 \left (a+b \cosh ^{-1}(c x)\right )-\frac {\left (b c d^2 \sqrt {-1+c^2 x^2}\right ) \int \frac {x \left (15-10 c^2 x^2+3 c^4 x^4\right )}{\sqrt {-1+c^2 x^2}} \, dx}{15 \sqrt {-1+c x} \sqrt {1+c x}}\\ &=d^2 x \left (a+b \cosh ^{-1}(c x)\right )-\frac {2}{3} c^2 d^2 x^3 \left (a+b \cosh ^{-1}(c x)\right )+\frac {1}{5} c^4 d^2 x^5 \left (a+b \cosh ^{-1}(c x)\right )-\frac {\left (b c d^2 \sqrt {-1+c^2 x^2}\right ) \operatorname {Subst}\left (\int \frac {15-10 c^2 x+3 c^4 x^2}{\sqrt {-1+c^2 x}} \, dx,x,x^2\right )}{30 \sqrt {-1+c x} \sqrt {1+c x}}\\ &=d^2 x \left (a+b \cosh ^{-1}(c x)\right )-\frac {2}{3} c^2 d^2 x^3 \left (a+b \cosh ^{-1}(c x)\right )+\frac {1}{5} c^4 d^2 x^5 \left (a+b \cosh ^{-1}(c x)\right )-\frac {\left (b c d^2 \sqrt {-1+c^2 x^2}\right ) \operatorname {Subst}\left (\int \left (\frac {8}{\sqrt {-1+c^2 x}}-4 \sqrt {-1+c^2 x}+3 \left (-1+c^2 x\right )^{3/2}\right ) \, dx,x,x^2\right )}{30 \sqrt {-1+c x} \sqrt {1+c x}}\\ &=\frac {8 b d^2 \left (1-c^2 x^2\right )}{15 c \sqrt {-1+c x} \sqrt {1+c x}}+\frac {4 b d^2 \left (1-c^2 x^2\right )^2}{45 c \sqrt {-1+c x} \sqrt {1+c x}}+\frac {b d^2 \left (1-c^2 x^2\right )^3}{25 c \sqrt {-1+c x} \sqrt {1+c x}}+d^2 x \left (a+b \cosh ^{-1}(c x)\right )-\frac {2}{3} c^2 d^2 x^3 \left (a+b \cosh ^{-1}(c x)\right )+\frac {1}{5} c^4 d^2 x^5 \left (a+b \cosh ^{-1}(c x)\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.17, size = 99, normalized size = 0.69 \[ \frac {d^2 \left (15 a c x \left (3 c^4 x^4-10 c^2 x^2+15\right )+b \sqrt {c x-1} \sqrt {c x+1} \left (-9 c^4 x^4+38 c^2 x^2-149\right )+15 b c x \left (3 c^4 x^4-10 c^2 x^2+15\right ) \cosh ^{-1}(c x)\right )}{225 c} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.64, size = 133, normalized size = 0.93 \[ \frac {45 \, a c^{5} d^{2} x^{5} - 150 \, a c^{3} d^{2} x^{3} + 225 \, a c d^{2} x + 15 \, {\left (3 \, b c^{5} d^{2} x^{5} - 10 \, b c^{3} d^{2} x^{3} + 15 \, b c d^{2} x\right )} \log \left (c x + \sqrt {c^{2} x^{2} - 1}\right ) - {\left (9 \, b c^{4} d^{2} x^{4} - 38 \, b c^{2} d^{2} x^{2} + 149 \, b d^{2}\right )} \sqrt {c^{2} x^{2} - 1}}{225 \, c} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F(-2)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Exception raised: TypeError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.01, size = 102, normalized size = 0.71 \[ \frac {d^{2} a \left (\frac {1}{5} c^{5} x^{5}-\frac {2}{3} c^{3} x^{3}+c x \right )+d^{2} b \left (\frac {\mathrm {arccosh}\left (c x \right ) c^{5} x^{5}}{5}-\frac {2 c^{3} x^{3} \mathrm {arccosh}\left (c x \right )}{3}+c x \,\mathrm {arccosh}\left (c x \right )-\frac {\sqrt {c x -1}\, \sqrt {c x +1}\, \left (9 c^{4} x^{4}-38 c^{2} x^{2}+149\right )}{225}\right )}{c} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.37, size = 194, normalized size = 1.36 \[ \frac {1}{5} \, a c^{4} d^{2} x^{5} + \frac {1}{75} \, {\left (15 \, x^{5} \operatorname {arcosh}\left (c x\right ) - {\left (\frac {3 \, \sqrt {c^{2} x^{2} - 1} x^{4}}{c^{2}} + \frac {4 \, \sqrt {c^{2} x^{2} - 1} x^{2}}{c^{4}} + \frac {8 \, \sqrt {c^{2} x^{2} - 1}}{c^{6}}\right )} c\right )} b c^{4} d^{2} - \frac {2}{3} \, a c^{2} d^{2} x^{3} - \frac {2}{9} \, {\left (3 \, x^{3} \operatorname {arcosh}\left (c x\right ) - c {\left (\frac {\sqrt {c^{2} x^{2} - 1} x^{2}}{c^{2}} + \frac {2 \, \sqrt {c^{2} x^{2} - 1}}{c^{4}}\right )}\right )} b c^{2} d^{2} + a d^{2} x + \frac {{\left (c x \operatorname {arcosh}\left (c x\right ) - \sqrt {c^{2} x^{2} - 1}\right )} b d^{2}}{c} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int \left (a+b\,\mathrm {acosh}\left (c\,x\right )\right )\,{\left (d-c^2\,d\,x^2\right )}^2 \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 2.23, size = 172, normalized size = 1.20 \[ \begin {cases} \frac {a c^{4} d^{2} x^{5}}{5} - \frac {2 a c^{2} d^{2} x^{3}}{3} + a d^{2} x + \frac {b c^{4} d^{2} x^{5} \operatorname {acosh}{\left (c x \right )}}{5} - \frac {b c^{3} d^{2} x^{4} \sqrt {c^{2} x^{2} - 1}}{25} - \frac {2 b c^{2} d^{2} x^{3} \operatorname {acosh}{\left (c x \right )}}{3} + \frac {38 b c d^{2} x^{2} \sqrt {c^{2} x^{2} - 1}}{225} + b d^{2} x \operatorname {acosh}{\left (c x \right )} - \frac {149 b d^{2} \sqrt {c^{2} x^{2} - 1}}{225 c} & \text {for}\: c \neq 0 \\d^{2} x \left (a + \frac {i \pi b}{2}\right ) & \text {otherwise} \end {cases} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________